package com.aaa.service;

import com.aaa.entity.Category;

import java.util.List;
import java.util.Map;

public interface CategoryService {
    int addCategory(Category category);

    int updateCategory(Category category);

    int changeStatus(Category category);

    /**
     * 商品列表对应商品类型的动态下拉框
     * @return
     */
    List<Category> getCategoryList();

    Map<String,Object> getAllCategoryList(Integer pageNumber, Integer pageSize, String searchStuno, String searchName)throws Exception;
}
